package com.boco.raptor.subsystem.attempx.dto;

import java.util.*;

public class AttempSheetStatSubPerson{
    private String personCuid = "";
    private String personName = "";
    private int personAddNum = 0;
    private int personModifyNum = 0;
    private int personCloseNum = 0;
    private ArrayList attempSheetCuidList = new ArrayList();
    private long sheetNum = 0;
    public String getPersonCuid() {
        return personCuid;
    }

    public void setAttempSheetCuid(String attempSheetCuid){
        if(!attempSheetCuidList.contains(attempSheetCuid)){
            attempSheetCuidList.add(attempSheetCuid);
            sheetNum++;
        }
    }

    public void attSheetNum(int num){
       sheetNum+=num;
    }

    public String getPersonName() {
        return personName;
    }

    public int getPersonAddNum() {
        return personAddNum;
    }

    public void addPersonAddNum(int num) {
        personAddNum+=num;
    }

    public int getPersonModifyNum() {
        return personModifyNum;
    }

    public void addPersonModifyNum(int num) {
        personModifyNum+=num;
    }

    public int getPersonCloseNum() {
        return personCloseNum;
    }

    public ArrayList getAttempSheetCuidList() {
        return attempSheetCuidList;
    }

    public long getSheetNum() {
        return sheetNum;
    }

    public void addPersonCloseNum(int num) {
        personCloseNum+=num;
    }

    public void setPersonCuid(String personCuid) {
        this.personCuid = personCuid;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public void setPersonAddNum(int personAddNum) {
        this.personAddNum = personAddNum;
    }

    public void setPersonModifyNum(int personModifyNum) {
        this.personModifyNum = personModifyNum;
    }

    public void setPersonCloseNum(int personCloseNum) {
        this.personCloseNum = personCloseNum;
    }

    public void setAttempSheetCuidList(ArrayList attempSheetCuidList) {
        this.attempSheetCuidList = attempSheetCuidList;
    }

    public void setSheetNum(long sheetNum) {
        this.sheetNum = sheetNum;
    }

}
